package com.codingfuture.glacierhardware.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: HanLe
 * @DateTime: 2025/4/1 14:13
 * @Description:
 **/
@Data
@TableName("warehouse")
public class WareHouse implements Serializable {
    private static final long serialVersionUID = 6L;
    @JsonFormat(shape = JsonFormat.Shape.STRING) // 添加此注解解决大整数ID在前端显示时的精度丢失问题
    private Long id;
    private Integer type;
    private String name;
    private String manager;
    private String email;
    private String phone;
    private String address;
    private Integer area;
    private Integer state;
    private String companyName;
    private Integer companyId;
    private String sn;  // 仓库编号
    private Double longitude;  // 经度
    private Double latitude;   // 纬度
    private String maxHum;
    private String minHum;
    private String maxTem;
    private String minTem;
}
